<%@ page contentType="text/html;charset=UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>
<link href="${ctx}/styles/css/index.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="${ctx}/js/index.js"></script>
<link rel="stylesheet" href="${ctx}/styles/topnavbar.css"/>
<style>
.top *{
-webkit-box-sizing: content-box;
}
</style>
<!--头部菜单-->
<div class="top">

    <div class="w t_cen">
        <div class="t_c_logo"><img src="${ctx}/images/index/logo2.png" /></div>
        <div class="t_c_lr t_c_left"></div>
        <div class="t_c_cen" id="t_c_cen_">
            <div class="t_c_top">
            </div>
            <div class="t_c_bottom">
                <ul>
					<c:if test="${pageContext.request.remoteUser != null}">
						<c:set var="top" value="${not empty top?top:''}" />
						<c:set var="left" value="${not empty left?left:''}" />
						<c:set var="parentId" value="${not empty (param.parentId)?(param.parentId):''}" />
						<c:forEach items="${fns:getMenuList()}" var="menu" varStatus="idxStatus">
							<c:if test="${menu.parent.id eq '402880f65b6b57cc015b6b57d09e0000' && menu.isShow eq 1}">
								<li class= "${menu.id == parentId || menu.id == top ? 'thisli':''}">
									<a href="${fn:indexOf(menu.href, '://') eq -1?ctx:''}${menu.href}"><img src = "${ctx}/images/index/ico_${menu.tag}.png" /><i>${menu.name}</i></a>
									 <div class="Nodes">
									 	<ul>
									 		<c:forEach items="${fns:getMenuList()}" var="menuChild">
									 			<c:if test="${menuChild.parent.id eq menu.id && menu.isShow eq 1}">
									 				<li><a href="${fn:indexOf(menuChild.href, '://') eq -1?ctx:''}${menuChild.href}">${menuChild.name}</a></li>
									 			</c:if>
									 		</c:forEach>
									 	</ul>
									 </div>
								</li>
							</c:if>
						</c:forEach>
					</c:if>
                </ul>
                <div class="thisMenu" id="thisMenu"></div>
            </div>
        </div>
        <div class="t_c_lr t_c_right"></div>
        <div class="tt-right" align="center">
        	<span>你好：${currentName}</span>
        	<a class="tc" href="${ctx}/logout" style="float:right;height:25px;line-height:25px;"><i class="tc_i"></i>退出</a>
        </div>
    </div>
</div>
<!--/头部菜单-->